fix pipeline exit status