fixing display map bug