removed end from join table