cleaning up the page on fail too