fix tryResume callback