fix for cask