fixed replacement config loading