bug 1318: typo in variable names