fix DBInterface.py