bug fixed on resum view