fix #577 support wrapped cmd module