eliminate berkshelf loop