fix some memory issues in OTPath
load OTCrypto default values from config