fixed require bug and order details