fixed crash when callback not exists