fix for defaulted arguments for #841