struct init fix