change pwd null exception fixed