rewmoving dashes when indexing