fix global AC mode