fix pipeline change state and done review