Fixed problem with floating point values