Fix issue #576
Merge pull request #577 from SimTk/fix-for-576

Fix issue #576