improved spec for sanitize, fixed spacing