fixing plugin config loading