fix isvoid and default init