added missing methods to sanitize helper function
Merge pull request #440 from icholy/master

added missing methods to sanitize helper function