StackOverflowError at SessionImpl#toString fix #223