refactor disableOrder