fixed calc in old report builder