fixed the bug adding a check, if the controller change the value do not overwrite