Redundant begin block detected