Fixed an error in orders_controller