apply global and contextual map separately