fix collection error