removing a space character