some changes in gallery