improve collector performance