fixed config copy error