error showMap function