restore the origin path