removed whitespace
clears input after submitting