hiding the title if dashes and no spaces