fixed some syntax errors