fixes a bug, where opening using defaults crashes with correct defaults....
fixes a bug, where opening using defaults crashes with correct defaults. internally referencing variable that is only initialized if other branch is taken
fixes a bug, where opening using defaults crashes with correct defaults. internally referencing variable that is only initialized if other branch is taken