some cleanup in record linkage sampling