fix GetServerData
add try catch