fix empty slug when create content