fix clearing floats