fixed float issues with clear