solve npes