clean up documents