partly fix splitway for relations (still lots of FIXMEs, but the perfect is the enemy...