fix defaults being required in csv and db libraries