remchanbyname()-implementation