fix .equal bug when meet null