Fixed bug for slugs in creation.