finish the pipeline registers