fixing stats search