fix logic of null check
1 file changed