destroy onepage