attempt to fix delete with cors.