fixed flagging on tr-detail