removed unnecessary queue from writer.