fix alternating tables