bug in config loading fixed