Fix the ANI channel array code to work.