Fixed bug with release method