removed space from the list of characters