fix structure of overlay