fix Model.each()
rebuild packages