Fix initMaps compile errors