only generate slug if the first time