fix some GADT record selector bugs (still some remaining)