Avoid null pointer