fix edit map cancel