Fixed `release` method