Fix bug unmapping global map