frame iterator bug fixed