fixed bug with getting serverbase url