last changes for gallery