Work around misterious attribute vanishing