missing variable fix