fix for overlay