Fix bug that the old settings of the ain2 is got replaced