Fixed path to middleware