fixes to bin/dbwebb