made Sanitize throw InvalidProfileException