preserve order of attributes with chameleon