fixing flask