fixed
null pointer dereferenncing