typo fix - `existant` => `existent`
typo fix - `midleware` => `middleware`