decode path