Fix map and exit.