fix collection crash when tag not right