Correct some map bug.