small changes on gallery