fix compiled wrapper problem