[FIX] crash on undefined callback