fix setL10nResource in mongoDb