[fix] Avoiding exception errors when callbacks are missing