Fix for version reading