fix the undefined config variable