some misc func

gtags