Fix map scope.