clean up and footer