bug fix when setting slug without a name