restore some configs