fix for missing variable