fix some bug

fix void type, use global parameter to catch path, remove classmasp in composer