Fix error order difinition