Removing possible ILLEGAL character