make input clear when enter