reinstalls core