apply list of middlewares for dev