Comment fix in middleware