small fix for call_debug