grub version check and function names fix
grub version_check implementation