fixed undefined config var