fix bugs
add temporary trace "sentinel" for REP instructions (high-over head)