fix removal of dashes