bug fix when POSTing channel data