finish rerun input