fix bug in resume