give version number as string to avoid AttributeError

AttributeError: 'float' object has no attribute 'startswith'