removed needless object - NULL comparison