fix when callback was not invoked