Better RELEASE handling and error messages