Rest client ver variable access fix