before add source and destination to channel