fixed syntax errors to unbreak the current version