make sure undefined isn't set to defined