Fix for minor syntax errors