Fix missing attribute ref