better reinstall for res service