bugfix for db dump handler