release/retain bug fix