npe bug fixed