add dump mode choose