fix generateAssetRequest function, fix logic of serializeInt32 function