Adjusted work with slug, paths
Fixes.