fix bug in .combine
fix bug in .flatMap