fixing stats resizing