Fixed typo breaking flash middleware.