Make value encoding attribute consistent