hotfix period recalculate_revenues