minor modification on DatabaseLoader.cpp