inputs no updating and being created new again

Hi all,

i'm running 8.5 Extended on a ubuntu 14.04 LAMP server and i'm facing a problem with inputs no updating and being created new again.

I searched before posting but couldn't find any help.

i'm tracing the code since yesterday and i can't see what's going wrong.

** 1- MySQL tables deleted

** 2- emoncms unpacked and configured again

** 3- registering new user and creating first input by opening "http://192.168.x.x/emoncmsXT/input/post.json?json={power:200}&apikey=mykey"

** 4- input_controller.php line 269 onwards :

$name is
string(5) "power"

$data is
Array
(
    [power] => 200
)

$nodeid is
string(0) ""

$dbinputs is
Array
(
)

!isset($dbinputs[$nodeid][$name]) evaluates true and new input is created, (line 271 onwards)

** 5- opening again "http://192.168.x.x/emoncmsXT/input/post.json?json={power:200}&apikey=mykey"

$name is
string(5) "power"

$data is
Array
(
    [power] => 200
)

$nodeid is
string(0) ""

$dbinputs is
Array
(
    [0] => Array
        (
            [power] => Array
                (
                    [id] => 13
                    [processList] =>
                )

        )

)

!isset($dbinputs[$nodeid][$name]) evaluates true again and new input is created again, why?? doesn't it exist?

i'm learning a lot tracing this beautifully crafted piece of software.

Any comments and feedback would be appreciated!