fixing version output for cli