adjust tables