fix gtags-mode hook