Fixed typo in middleware config