Fix error pipeline