Changing the attributes to fix errors