modified midlewares.rb