collection error fix