check npe