bugfix: target reader/writer threads