remove space from input