fixed issues with slugs