fixed some ast-node implementations