fix variable struct array in struct  bug