Fixed a bug so that it is resumable now