Fixed a regression on version calling