restoring stats