merged with upstream meegpipe