fix some issues in Reconciliation functionality