better formatting in getVersionStr