don't insert middleware its a problem