pipeline support bug and corrsponding script code is fixed.