resume method fix