history pipeline fix