removed the parameter config from middleware interface