add recover mode