made sanitize return result to allow for chaining