fix getfloatvalue in config file