gallery, maps fix