formatting problems with sanitization