Fix misnamed metadata variable