fixed reset map bug related to button visibility