tweak build for release plugin