fix configuration loading

fix the keys when loading configuration, if the key is in the enclosing
scope, we must give the absolute path