Correct check null value