Avoid npe