bugfix: fail to query more messages because of the wrong request