Fixing typo in middleware manager