fix mapL and mapR using untangle