gallery minor fixes