Try to fix adapter crash