fix chan int