fixed #122
error with creatinf ods order