bug fixed in filldb.py