fixed a few small syntax errors