return the slug to UI