Fixed incorrect popping in RFI.