fix some error for bytecompile