tidyup and set slug as title if set but empty