fix bug on collection service