fix for AC-mode