- fix null pointer ex