hack to ignore user_data, destroy_notify and make callbacks work