simplify sanitize() function
Merge pull request #75 from bifek/sanitize

simplify sanitize() function