Bug in config lookup