Fix dhparm creation