Fix pipelines def bug