diff --git a/source_code/version2.2_windows/day_ini.f b/source_code/version2.2_windows/day_ini.f
index cb15271ce159620817b9ea4806873f8fabb10f23..80d06505e32fa6d9ffab5a250a6070c8b9b0ca45 100755
--- a/source_code/version2.2_windows/day_ini.f
+++ b/source_code/version2.2_windows/day_ini.f
@@ -50,11 +50,12 @@ if (hum .le. 0.) then
 else if (hum .gt. 100.) then
    hum = 100.
 endif
-if (press .gt. 0.) then
+if (prs(i,j) .gt. 0.) then
     press = prs(i,j)
 else
     press = 1013.
 endif
+
 rad       = rd(i,j)
 wind      = wd(i,j)
 if (wind .lt. 0.) wind = 0.5