some fixes for syntax errors