removing old AST node