bug 1138: fixed syntax errors missing }