some changes to galleries