removes odd stuff on CORS