workaround for hgk