polish debug frame