fix invalid struct member declaration