bug in path ref