bugfix in estimate.wrap