finish unique path II fix issue #47