fixed bugs, add slugs