fix syntax error of constant