fix record count (or try anyway)