Revert "Revert "only use request_ids when string length is exactly 32""

This reverts commit df2f7c35e9cc45c99a57de61e36f0a691f4195f9.
fixed ref counting bug