to filter empty taskGroup