fixing bug with cleaving hyphens