collector: remove unused codes