null search fix