simplify dash handling