fixes for overlays