FloatException fix