remove trailing "-"