Removed debug code

- Removed debug code
- Added basic strip to the sanitize function