fix some parsing, move towards pointsto for rgrefs