fix bug in collector