fixs the multi-middleware call bug