fix document & folder released checking