toString method fixed