Fixed bugs.
Fixed syntax error