clear floats for wrapper function