fix set order variable