fix bug with toString