Remove attribute that should not be there