fixed server endpoints in client