few small fixes to syntax errors