Fix accessing config vars