Fixed some syntax bugs.