fix common attributes