fixed issue with invalid message after setting the fetch size value