removing redundant float