Fix that some codes have wrong data type
Fix throttling