made some fixes to SuiteDB