fix association tables