trying to fix the gmap problem