use the correct method unsubmitted_contracts
fix leihs factory to create settings