fixed resume issue