fix bug in fci rdm