added function to clear out the field cache