Cleaning up inputs

Stripping slashes and replacing characters