fix to a toString method