fix bug for local ip map