add erc mode, fix problems with erc and geben