Fix invalid debugging section (open IF section)