added missing " !== undefined"