BUGGY

delete headers from memory, not just remove from list