Fix pathSelection