more bug fixes for overlay files