fixing broken float