channel could not be NULL here