fixed rest server location problem