Fixed gv to get master if missing