power decoupling and output shorting protection