Corrected a bug with sending of reprint code