fix grub metadata