added check for xhr in collection load failure