fix for methods with callbacks