some attribute fixes