fixed config copy