Minor flatMap fix for b77