diff --git a/Models/Instruments/IESI/IESI.nas b/Models/Instruments/IESI/IESI.nas
index 3c726c61..1cf475d4 100644
--- a/Models/Instruments/IESI/IESI.nas
+++ b/Models/Instruments/IESI/IESI.nas
@@ -152,7 +152,6 @@ var canvas_IESI = {
 		}
 		
 		# Attitude
-		
 		me.AI_horizon_trans.setTranslation(0, pitch.getValue() * 16.74);
 		me.AI_horizon_rot.setRotation(-roll.getValue() * D2R, me["AI_center"].getCenter());
 		
@@ -179,7 +178,7 @@ var canvas_IESI = {
 		
 		me["ALT_digits"].setText(sprintf("%s", altitude_ind.getValue()));
 		me["ALT_meters"].setText(sprintf("%5.0f", me.altitude * 0.3048));
-		altTens = num(right(sprintf("%02d", altitude_ind.getValue()), 2));
+		altTens = num(right(sprintf("%02d", altitude.getValue()), 2));
 		me["ALT_tens"].setTranslation(0, altTens * 3.16);
 		
 		# QNH
diff --git a/Nasal/buttons.nas b/Nasal/buttons.nas
index 5f0f9e80..525f2ffd 100644
--- a/Nasal/buttons.nas
+++ b/Nasal/buttons.nas
@@ -248,4 +248,4 @@ var decreaseManVS = func {
 	if (manvs <= 1 and manvs >= 0 and !auto) {
 		setprop("/systems/pressurization/outflowpos-man", manvs - 0.001);
 	}
-}
\ No newline at end of file
+}
diff --git a/Nasal/libraries.nas b/Nasal/libraries.nas
index f5a65dbf..aabf3b4c 100644
--- a/Nasal/libraries.nas
+++ b/Nasal/libraries.nas
@@ -585,4 +585,4 @@ if (getprop("/controls/flight/auto-coordination") == 1) {
 	setprop("/controls/flight/aileron-drives-tiller", 0);
 }
 
-setprop("/systems/acconfig/libraries-loaded", 1);
\ No newline at end of file
+setprop("/systems/acconfig/libraries-loaded", 1);
diff --git a/revision.txt b/revision.txt
index 5bbc35dc..a82e2037 100644
--- a/revision.txt
+++ b/revision.txt
@@ -1 +1 @@
-4638
\ No newline at end of file
+4639
\ No newline at end of file