config variable not working