doctrine is not mandatory if we don't activate pair history