fix typing in middleware comment