Workaround in toString function