fix to have config outside of war exec