struct errors