fixed issue when the version isn't correct