fix null pointer exception