Bug fix: initialize uninitialized values.