Fixed time issue in resume