tostring bugfix