implemented rule to check for illegal characters + remove violating characters fix