fix error thrown by collection