removed stackoverflow in toString