fix for order code bug

fix for order code bug