fixing sanitize text callback