Fixed bug in assign-paths where extra '0' was prepended to path.