bug fix for depositschemefactors