added a try catch ... sometimes you could get error in the listPageLoaded when carpages wasn't an array