Removed the extra page and strange 'clear_page' construction.