Fix resume issue