fix bad toString method