got a_Det working again using the attach delay stuff. I don't understand why pwr_en_flag fixes it but it does