Fixing toString method