Fixed bug in ToString.