Fixed a bug in displaying version information