try to get rid of dependency cycles in packages