fix issue #2009

init near cache before create local map stats