print more information in the error string
fix a bug when we're running in single server mode
sequence number can be nil which causes a panic