remove unnecessary write to chan