fix double release