compiler: fix replacing context in maps
0.8.3