corrected typo in toString() method