fixed the null pointer exception