TECH: fix npe.