fix for fetchDbStats