if get server is passed a string that can safely be converted to an integer, use it as an index