fix attribute translations