[add] add compatibility for modman