clean up compare tables