fix float(version) if version is None
CountOffsetManagerMixin & AfterBeforeManagerMixin