sales_by_account spec fix for global variables