fixed engagement rule dist check