float conversion issue