Fixed some syntax errors from last commit