Revert "Bugfix & DBStats updage"

This reverts commit a6cf045cfdaf095885603fa2dbc27b63582b4080.