Fixed syntax error bug