fixed the slug auto-populating bug