cleanup for ratification