remove a unnecessary space in textfield inputs