make prepare use the ets table directly as well