correcter bug where value was saved in channel 2 instead of 7