fix never booting with headphones plugged in