fixed build for release build
new gallery