Fix collection error callback