Corrected error in middleware file. The file still referenced old module