fix copy config files