bug fix on orders controller.