use smartmatch to compare paths