fix overlays for compile