almost coded hideoverlay