Fixed bug in resume