fix bug: search entities decode problem