removing extra parts of path from destination request