fixed the orders view