Properly rename join table