Fixed bug when the value comes as float