Move up CorsMiddleware