redundant middleware call