fix for more than one illegal character