Resume bug fix