fix of uninitialized object warning, issue #710
Merge pull request #711 from mariroz/dev

fix of uninitialized object warning, issue #710