Fix deperecated variable access

Sorry, I missed this one before.