breaking the dependency cycle in mesa