fixed problems with server not returning a full doc