fix broken join