some changes on gallery