fixed history bug for single-node connestion