fix

- check for invalid characters