avoid emitting nil from mapcat