fixed float issues