move path to path-layer