got rid of some debug leftovers
proper casting on channel data