flask repair