bugfix for epairs-internal