sanitize codebase