correctly parse joins parts