fix code analyzer of null
fix null statement