added dash as a valid character