Fixed all the syntax errors from syncing.