remove cicular dependencies between packages mainchannel