fix record icon detection.