fixed #65 wrong object types