page.js and cleanup