improved global resuming