fixed a bug with the variable existence checking. The old version will have problems when fi_cycle/bit/reg_index is 0, while this update fixes the problem
Merge remote-tracking branch 'origin/master'