bug 1318: Typo in control structure