cleaning up the final popup hopefully