bugfix: unititialized pointers