bugfix: pointer initialization was missing