rename document, clean up