replaced missing variable