fix order detail metadata