fix config variable access deprecation warning