corrected sanitization, thanks Gary (issue #7)