fix error in wanted_software_version check