try fixing struct init