fixed sp error in pipeline addtion