generate slug fix