removes confidential data from settings + repo