simplified releseAll logic