support RFID and fix bug