Do not assign attributes twice