resolve name now respects fragments of a path