solve syntax error