remove empty space after input