avoid concurrent writing to the instance variables in lazyInit() (issue #21)