diff --git a/functions/miscellaneous/createDissileInput.m b/functions/miscellaneous/createDissileInput.m
index de7c05f2516a9e83a53716e1ffd75fed8d249f8a..cd655d6503991c1cb7638f98510bdb799505889c 100644
--- a/functions/miscellaneous/createDissileInput.m
+++ b/functions/miscellaneous/createDissileInput.m
@@ -83,7 +83,7 @@ input.axibod.about = 'Axisymmetric body quantities';
 input.axibod.TNOSE = find(strcmp(noses, rocket.payload.noseType))-1;                             % [0=CONICAL, 1=OGIVE, 2=POWER, 3=HAACK, 4=KARMAN, 5=MHAACK] ogive type
 if strcmp(rocket.payload.noseType, 'MHAACK')
     input.axibod.MHAACKCP = [rocket.payload.noseCMod rocket.payload.nosePMod];                   % [-] CMOD PMOD mhaack parameters, set CMOD = 1/3 and PMOD = 1 to get a haack
-elseif strcmp(rocket.OgType, 'POWER')
+elseif strcmp(rocket.payload.noseType, 'POWER')
     input.axibod.POWER = rocket.payload.nosePower;                                               % [-] Exponent of the power series, set a value between 0 and 1
 end
 input.axibod.LNOSE = rocket.payload.noseLength;                                                  % [m] Nose length