fixed dump trailing slash