move the raw part to vertex, some issues with path dep types