diff --git a/src/sview/job_info.c b/src/sview/job_info.c
index 14d00378c7f0cf135eceaf58bd616a72e0c9c103..909c07a1151f7bb1c47d7ebe6d38bb339210a72c 100644
--- a/src/sview/job_info.c
+++ b/src/sview/job_info.c
@@ -2775,12 +2775,6 @@ display_it:
 				 SORTID_CNT);
 	}
 
-	spec_info->view = INFO_VIEW;
-	if(spec_info->type == INFO_PAGE) {
-		_display_info_job(info_list, popup_win);
-		goto end_it;
-	}
-
 	if(popup_win->grid_button_list) {
 		list_destroy(popup_win->grid_button_list);
 	}	       
@@ -2790,6 +2784,13 @@ display_it:
 #else
 	popup_win->grid_button_list = list_create(destroy_grid_button);
 #endif	
+
+	spec_info->view = INFO_VIEW;
+	if(spec_info->type == INFO_PAGE) {
+		_display_info_job(info_list, popup_win);
+		goto end_it;
+	}
+
 	
 	/* just linking to another list, don't free the inside, just
 	   the list */