Typo on middleware