middleware conflict