fix crash if title without "-"