check for nsnull