remove unused id, add more cleanup code gmap due to known memory leak bug