better handling of user passed slugs