fixed re-installing GRUB function