fix bug clobbering attributes passed on create

'locale' was clobbering an explicit 'pattern' and the latter was
clobbering most other explicit attributes.