reader: removed unused allocations