fix syntax errors from previous commit