#221 fixed syntax errors