removed unnecessary middlewares