use == instead of triple to compare with null