Fixed indent in middleware