Minor bug fixing in order_controller