implment the must command for templete,fix a bug for inherit.super