deleted redundant method replaceDashToMinus()