fixed bug on on_click of map