repair initialization