Sanitize code