Gallery Bugfix