Remove empty middleware section