fix wrong structure