fixing bugs in hg...generalization works at least, w/o SASTGOP