fix out of order cask commands