fixed currentversion cli from crashing