diff --git a/src/smap/job_functions.c b/src/smap/job_functions.c
index 6192ae8238568ac3f785042f3637f4ffd8217b21..adabcca32a749d8375235e8e9870138d1e836900 100644
--- a/src/smap/job_functions.c
+++ b/src/smap/job_functions.c
@@ -71,11 +71,16 @@ extern void get_job()
 
 	if (error_code) {
 		if (quiet_flag != 1) {
-			mvwprintw(ba_system_ptr->text_win,
-				ba_system_ptr->ycord, 1,
-				"slurm_load_job: %s", 
-				slurm_strerror(slurm_get_errno()));
-			ba_system_ptr->ycord++;
+			if(!params.commandline) {
+				mvwprintw(ba_system_ptr->text_win,
+					  ba_system_ptr->ycord, 1,
+					  "slurm_load_job: %s", 
+					  slurm_strerror(slurm_get_errno()));
+				ba_system_ptr->ycord++;
+			} else {
+				printf("slurm_load_job: %s\n",
+				       slurm_strerror(slurm_get_errno()));
+			}
 		}
 	}
 
@@ -169,7 +174,8 @@ extern void get_job()
 	if (params.commandline && params.iterate)
 		printf("\n");
 
-	ba_system_ptr->ycord++;
+	if(!params.commandline)
+		ba_system_ptr->ycord++;
 	
 	job_info_ptr = new_job_ptr;
 	return;
diff --git a/src/smap/partition_functions.c b/src/smap/partition_functions.c
index 3fdd6eab8892b124465ed43f7a5ec63808651149..111ffe7dca55f1deaa775cc65520a86f9e6ab468 100644
--- a/src/smap/partition_functions.c
+++ b/src/smap/partition_functions.c
@@ -711,8 +711,6 @@ static int _print_text_part(partition_info_t *part_ptr,
 		
 		printf("%5s ", tmp_cnt);
 		
-		tempxcord = ba_system_ptr->xcord;
-		
 		if (params.display == BGPART)
 			nodes = part_ptr->allow_groups;
 		else