remove float and clear from text input