fix bug in fci_rdm