Fixing bug in version helper