robust release method