add middlewareError