fixes cask is_deforming method