Remove unnecessary chars