fixed bug with not displaying version info correctly