flatten toggle arguments, when ',' detected