fix two syntax errors from previous change