debugging missing variable