add some gmi_base helpers