remove array when only one version available