Fixed FTEMain error