fixed inequal relation bug