struct type size bug fixed