[FIX] Require in middleware