Fix multiple dash name problem