bugfix mainnet version check