More Bugfixes to DBController.