fixed __toString method