added braces to null comparison