diff --git a/fdt.tcl b/fdt.tcl
index 34697a15792222bc3179c08279e5fb2f0732aeeb..88492ee19182330e8716279d743e431dbead0dc2 100644
--- a/fdt.tcl
+++ b/fdt.tcl
@@ -885,7 +885,7 @@ proc fdt:apply { w dialog } {
 	    if { $registration(directory) == ""  } { set errorStr "You must specify the bedpostX directory!" }
 	    if { $registration(struct_yn) && $registration(struct_image) == ""  } { set errorStr "$errorStr You must specify the structural image!" }
 	    if { $registration(struct_yn) && $registration(nonlin_yn) && $registration(nonlin_image) == ""  } { set errorStr "$errorStr You must specify the non-betted structural image!" }
-	    if { $registration(standard_yn) &&  == ""  } { set errorStr "$errorStr You must specify the standard image!" }
+	    if { $registration(standard_yn) && $registration(standard_image) == ""  } { set errorStr "$errorStr You must specify the standard image!" }
 	    if { $errorStr != "" } {
 		MxPause $errorStr
 		return