fixing performance issues on gallery