addon for #3963

fix bug: pass args to version() properly