fix for overlays