BTGREPGEN-3084 fix