resuming cannot ranges error