rename equals to equalsPath