fix splitting behaviour with splitright