check for blank instead of just null