set max length for slug generation