bugfix injection through constructor