added 404 check for illegal words