fix missing initialisation in named constructor