fix version comparison (str compare bad)