Fix getting server adress