Trying to fix statistcs window.