don't release NULL objects