fix bug with sales_objects