finialize the paper