Revert "Revert "fix stats collection failing causing DEA to die""

This reverts commit c252c77baaedc5d7fb3af7f36f7a918f7bb39d79.
fix stat collection