fix npe bug