fix incorrect name in middleware