fixing nast syntax error