remove default configuration except secret key and language settings