fixed little bug in Path