fix small bugs of rf_table