fixed bug in map save button