bug in order creation