remove unused code
enhance slugify