try fix npe