fixed getSalesCommand