fix of uninitialized object warning, issue #710