get hs name of two-callback fn automatically