fix error string, and add queue size