Commented out sanitization code because it caused infinite loading