bug: ${global.version} should replace ${version}