fixed an issue with the version param