fix incorrect reference to server obj