fixes #1761

now using <object>.class.name
Merge pull request #1770 from komidore64/issue_1761

fixes #1761