[FIX] Load problem of middleware - main modules loaded but their exceptions didn't