ref #6535 fix calls to version number from other places