matchCollection.js error fixed