check for empty pipelines