minor update to middleware.