Gallery: fix bug when calling without argument