corrected error in db dump queries