fix to missing variable