extract variable that represents invalid booking