fixed cache appending extra records