Fixing edit map