slug auto generation fix