drop global variable 'map'