fixed bug in collectionprocessor init