map compare fix bugs