fix error if collectionmenu but never build before