fix some bugs for trip pages