fixed invalid struct type