corrected sanitize text