fix null pointer exception

don't look