removed the fix in functions to sanitize that actually broke everything