bugfix restart cdpath