fix bug: entity query decode error.