u weren't flatMapping correctly, just join