fixed some basic syntax errors