Fixed typo in resumable code